﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DiskInspector.Model.MetaDataAttributes;

namespace DiskInspector.Model
{
    public class MainBootRecord
    {
        [FieldLength(ByteLength = 440)]
        public byte[] MasterBootstrapLoaderCode { get; set; }

        [FieldLength(ByteLength = 4)]
        public byte[] WindowsDiskSignature { get; set; }

        [FieldLength(ByteLength = 2)]
        public byte[] Reserved { get; set; }

        [BlockLength(ByteLength = 64, Count = 4)]
        public DiskPartitionTable[] DiskPartitionTables { get; set; }

        [FieldLength(ByteLength = 2)]
        public byte[] Signature { get; set; }
    }
}
